{##
 # Displays login box div for cosign cookie login.
 #
 # @copyright  Copyright (c) 2010-2012 The Fajr authors (see AUTHORS).
 #             Use of this source code is governed by a MIT license that can be
 #             found in the LICENSE file in the project root directory.
 # @author     TODO
 #}

{##
 # cookie login box
 #}
<div id="cosignCookieLoginBox" class="loginBoxDiv">
  <form method="post" action="{{ path('login') }}">
    <fieldset class="login-box">
      <legend>Prihlásenie cez cookie do <br/>{{ currentServer.serverName }} </legend>
      <input type="hidden" name="serverName" value="{{ currentServer.serverName }}" />
      <input type="hidden" name="loginType" value="cosigncookie" />
      <div>
      bezpečne sa
      <a href="https://login.uniba.sk/?{{ currentServer.cosignCookieName|url_encode }}&amp;https://{{ currentServer.serverName|url_encode }}/ais/login.do?"
         >prihlás</a>
      do {{ currentServer.instanceName }} a skopíruj si cookie.
      <hr/>
      <label for="cosignCookie">{{ currentServer.cosignCookieName }}</label>
      <br/>
      <input type="password" name="cosignCookie" id="cosignCookie"/>
      <br/>
      <button type="submit" name="submit">
        <img alt="" src="images/third_party/silk/key_add.png"/>
        Prihlásiť
      </button>
      </div>
    </fieldset>
  </form>
</div>
